package com.lastproject.ejb.dao;

import java.util.List;

import javax.ejb.Remote;

import com.lastproject.dto.SugestionDTO;

@Remote
public interface SugestionDAORemote {
	
	boolean create(boolean hasPermission, SugestionDTO entity);
	
	boolean edit(boolean hasPermission, SugestionDTO entity);
	
	boolean remove(boolean hasPermission, SugestionDTO entity);
	
	SugestionDTO findByID(Object id);
	
	List<SugestionDTO> findAll();

	List<SugestionDTO> findAllSortedByTitle();
}
